package kr.hkit.powerjava.chapter06;

import java.util.Scanner;

public class Exercise1_2 {
	public static void main(String[] args) {
		int x;
		int y;
		
		Scanner input = new Scanner(System.in);
		System.out.print("x의 값을 입력하세요: ");
		x = input.nextInt();
		
		if (x > 0 && x < 21)
		System.out.print("y의 값은 :" + (y = x));
	}

}
